package com.xbongbong.pro.bom.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.pro.enums.SaasMarkEnum;
import com.xbongbong.saas.enums.XbbRefTypeEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author 吴峰
 * @version v1.0
 * @date 2019/4/17 15:21
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class BomBillListDTO extends BaseDTO {

    /**
     * 分类id
     */
    private Long categoryId;

    private Integer saasMark;

    private Integer businessType;

    /**
     * 分页当前页
     */
    private Integer page;

    /**
     * 分页每页记录数
     */
    private Integer pageSize;
    /**
     * 模糊搜索
     */
    private String nameLike;



    public BomBillListDTO() {
        categoryId = 0L;
        saasMark = SaasMarkEnum.SAAS.getCode();
        businessType = XbbRefTypeEnum.BOM_BILL.getCode();
        page = 1;
        pageSize = 10;
    }
}
